<?php $this->widget('zii.widgets.CGridView', array(
	'dataProvider'=>$element,
)); ?>

<div class="viewElement">
	</br>
	<table>
	<tr><td><b><?php echo CHtml::encode($data->getAttributeLabel('COMP_ELEM_CODE')); ?></b></td>
	<td>: <?php echo CHtml::link($data->COMP_ELEM_CODE,array('competencyElement/view','id'=>$data->COMP_ELEM_CODE));
	//CHtml::link(CHtml::encode($data->COMP_ELEM_CODE), array('view', 'id'=>$data->COMP_ELEM_CODE)); ?></td>
	</tr>

	<tr><td><b><?php echo CHtml::encode($data->getAttributeLabel('COMP_UNIT_CODE')); ?></b></td>
	<td>: <?php echo CHtml::encode($data->COMP_UNIT_CODE); ?></td>
	</tr>

	<tr><td><b><?php echo CHtml::encode($data->getAttributeLabel('COMP_ELEM_NAME')); ?></b></td>
	<td>: <?php echo CHtml::encode($data->COMP_ELEM_NAME); ?></td>
	</tr>

	<tr><td><b><?php echo CHtml::encode($data->getAttributeLabel('COMP_ELEM_DESC')); ?></b></td>
	<td>: <?php echo CHtml::encode($data->COMP_ELEM_DESC); ?></td>
	</tr>
<!--
	<tr><td><b><?php echo CHtml::encode($data->getAttributeLabel('USER_CREATED')); ?></b></td>
	<td>: <?php echo CHtml::encode($data->USER_CREATED); ?></td>
	</tr>

	<tr><td><b><?php echo CHtml::encode($data->getAttributeLabel('TIME_CREATED')); ?></b></td>
	<td>: <?php echo CHtml::encode($data->TIME_CREATED); ?></td>
	</tr>

	<tr><td><b><?php echo CHtml::encode($data->getAttributeLabel('USER_UPDATED')); ?></b></td>
	<td>: <?php echo CHtml::encode($data->USER_UPDATED); ?></td>
	</tr>

	<tr><td><b><?php echo CHtml::encode($data->getAttributeLabel('TIME_UPDATED')); ?></b></td>
	<td>: <?php echo CHtml::encode($data->TIME_UPDATED); ?></td>
	</tr>-->
	</table>

</div>
